package b.g.c;

import android.content.Context;
import android.content.res.TypedArray;
import android.content.res.XmlResourceParser;
import android.util.Log;
import android.util.SparseArray;
import android.util.Xml;
import androidx.constraintlayout.widget.ConstraintLayout;
import java.io.IOException;
import java.util.ArrayList;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;

/* compiled from: ConstraintLayoutStates */
public class b {
    public SparseArray<a> a = new SparseArray();
    public SparseArray<c> b = new SparseArray();

    /* compiled from: ConstraintLayoutStates */
    public static class a {
        public int a;
        public ArrayList<b> b = new ArrayList();
        public int c = -1;
        public c d;

        public a(Context context, XmlPullParser xmlPullParser) {
            TypedArray obtainStyledAttributes = context.obtainStyledAttributes(Xml.asAttributeSet(xmlPullParser), f.h);
            int indexCount = obtainStyledAttributes.getIndexCount();
            for (int i = 0; i < indexCount; i++) {
                int index = obtainStyledAttributes.getIndex(i);
                if (index == 0) {
                    this.a = obtainStyledAttributes.getResourceId(index, this.a);
                } else if (index == 1) {
                    this.c = obtainStyledAttributes.getResourceId(index, this.c);
                    String resourceTypeName = context.getResources().getResourceTypeName(this.c);
                    context.getResources().getResourceName(this.c);
                    if ("layout".equals(resourceTypeName)) {
                        c cVar = new c();
                        this.d = cVar;
                        cVar.a(context, this.c);
                    }
                }
            }
            obtainStyledAttributes.recycle();
        }
    }

    /* compiled from: ConstraintLayoutStates */
    public static class b {
        public float a = Float.NaN;
        public float b = Float.NaN;
        public float c = Float.NaN;
        public float d = Float.NaN;
        public int e = -1;
        public c f;

        public b(Context context, XmlPullParser xmlPullParser) {
            TypedArray obtainStyledAttributes = context.obtainStyledAttributes(Xml.asAttributeSet(xmlPullParser), f.j);
            int indexCount = obtainStyledAttributes.getIndexCount();
            for (int i = 0; i < indexCount; i++) {
                int index = obtainStyledAttributes.getIndex(i);
                if (index == 0) {
                    this.e = obtainStyledAttributes.getResourceId(index, this.e);
                    String resourceTypeName = context.getResources().getResourceTypeName(this.e);
                    context.getResources().getResourceName(this.e);
                    if ("layout".equals(resourceTypeName)) {
                        c cVar = new c();
                        this.f = cVar;
                        cVar.a(context, this.e);
                    }
                } else if (index == 1) {
                    this.d = obtainStyledAttributes.getDimension(index, this.d);
                } else if (index == 2) {
                    this.b = obtainStyledAttributes.getDimension(index, this.b);
                } else if (index == 3) {
                    this.c = obtainStyledAttributes.getDimension(index, this.c);
                } else if (index == 4) {
                    this.a = obtainStyledAttributes.getDimension(index, this.a);
                } else {
                    Log.v("ConstraintLayoutStates", "Unknown tag");
                }
            }
            obtainStyledAttributes.recycle();
        }
    }

    public b(Context context, ConstraintLayout constraintLayout, int i) {
        XmlResourceParser xml = context.getResources().getXml(i);
        a aVar = null;
        try {
            for (int eventType = xml.getEventType(); eventType != 1; eventType = xml.next()) {
                if (eventType == 0) {
                    xml.getName();
                } else if (eventType == 2) {
                    String name = xml.getName();
                    int i2 = -1;
                    switch (name.hashCode()) {
                        case -1349929691:
                            if (name.equals("ConstraintSet")) {
                                i2 = 4;
                                break;
                            }
                            break;
                        case 80204913:
                            if (name.equals("State")) {
                                i2 = 2;
                                break;
                            }
                            break;
                        case 1382829617:
                            if (name.equals("StateSet")) {
                                i2 = 1;
                                break;
                            }
                            break;
                        case 1657696882:
                            if (name.equals("layoutDescription")) {
                                i2 = 0;
                                break;
                            }
                            break;
                        case 1901439077:
                            if (name.equals("Variant")) {
                                i2 = 3;
                                break;
                            }
                            break;
                        default:
                            break;
                    }
                    if (!(i2 == 0 || i2 == 1)) {
                        if (i2 == 2) {
                            aVar = new a(context, xml);
                            this.a.put(aVar.a, aVar);
                        } else if (i2 == 3) {
                            b bVar = new b(context, xml);
                            if (aVar != null) {
                                aVar.b.add(bVar);
                            }
                        } else if (i2 != 4) {
                            StringBuilder stringBuilder = new StringBuilder();
                            stringBuilder.append("unknown tag ");
                            stringBuilder.append(name);
                            Log.v("ConstraintLayoutStates", stringBuilder.toString());
                        } else {
                            a(context, xml);
                        }
                    }
                }
            }
        } catch (XmlPullParserException e) {
            e.printStackTrace();
        } catch (IOException e2) {
            e2.printStackTrace();
        }
    }

    /* JADX WARNING: Missing block: B:55:0x00e7, code skipped:
            r9 = -1;
     */
    /* JADX WARNING: Missing block: B:56:0x00e8, code skipped:
            r1 = "XML parser error must be within a Constraint ";
     */
    /* JADX WARNING: Missing block: B:57:0x00ea, code skipped:
            switch(r9) {
                case 0: goto L_0x01c3;
                case 1: goto L_0x01b4;
                case 2: goto L_0x01a7;
                case 3: goto L_0x0182;
                case 4: goto L_0x015d;
                case 5: goto L_0x0137;
                case 6: goto L_0x0111;
                case 7: goto L_0x00ef;
                default: goto L_0x00ed;
            };
     */
    /* JADX WARNING: Missing block: B:58:0x00ef, code skipped:
            if (r7 == null) goto L_0x00f8;
     */
    /* JADX WARNING: Missing block: B:60:?, code skipped:
            b.g.c.a.a(r13, r14, r7.f);
     */
    /* JADX WARNING: Missing block: B:61:0x00f8, code skipped:
            r2 = new java.lang.StringBuilder();
            r2.append(r1);
            r2.append(r14.getLineNumber());
     */
    /* JADX WARNING: Missing block: B:62:0x0110, code skipped:
            throw new java.lang.RuntimeException(r2.toString());
     */
    /* JADX WARNING: Missing block: B:63:0x0111, code skipped:
            if (r7 == null) goto L_0x011e;
     */
    /* JADX WARNING: Missing block: B:64:0x0113, code skipped:
            r7.c.a(r13, android.util.Xml.asAttributeSet(r14));
     */
    /* JADX WARNING: Missing block: B:65:0x011e, code skipped:
            r2 = new java.lang.StringBuilder();
            r2.append(r1);
            r2.append(r14.getLineNumber());
     */
    /* JADX WARNING: Missing block: B:66:0x0136, code skipped:
            throw new java.lang.RuntimeException(r2.toString());
     */
    /* JADX WARNING: Missing block: B:67:0x0137, code skipped:
            if (r7 == null) goto L_0x0144;
     */
    /* JADX WARNING: Missing block: B:68:0x0139, code skipped:
            r7.d.a(r13, android.util.Xml.asAttributeSet(r14));
     */
    /* JADX WARNING: Missing block: B:69:0x0144, code skipped:
            r2 = new java.lang.StringBuilder();
            r2.append(r1);
            r2.append(r14.getLineNumber());
     */
    /* JADX WARNING: Missing block: B:70:0x015c, code skipped:
            throw new java.lang.RuntimeException(r2.toString());
     */
    /* JADX WARNING: Missing block: B:71:0x015d, code skipped:
            if (r7 == null) goto L_0x0169;
     */
    /* JADX WARNING: Missing block: B:72:0x015f, code skipped:
            r7.e.a(r13, android.util.Xml.asAttributeSet(r14));
     */
    /* JADX WARNING: Missing block: B:73:0x0169, code skipped:
            r2 = new java.lang.StringBuilder();
            r2.append(r1);
            r2.append(r14.getLineNumber());
     */
    /* JADX WARNING: Missing block: B:74:0x0181, code skipped:
            throw new java.lang.RuntimeException(r2.toString());
     */
    /* JADX WARNING: Missing block: B:75:0x0182, code skipped:
            if (r7 == null) goto L_0x018e;
     */
    /* JADX WARNING: Missing block: B:76:0x0184, code skipped:
            r7.b.a(r13, android.util.Xml.asAttributeSet(r14));
     */
    /* JADX WARNING: Missing block: B:77:0x018e, code skipped:
            r2 = new java.lang.StringBuilder();
            r2.append(r1);
            r2.append(r14.getLineNumber());
     */
    /* JADX WARNING: Missing block: B:78:0x01a6, code skipped:
            throw new java.lang.RuntimeException(r2.toString());
     */
    /* JADX WARNING: Missing block: B:79:0x01a7, code skipped:
            r1 = r0.c(r13, android.util.Xml.asAttributeSet(r14));
            r1.d.d0 = 1;
     */
    /* JADX WARNING: Missing block: B:80:0x01b4, code skipped:
            r1 = r0.c(r13, android.util.Xml.asAttributeSet(r14));
            r7 = r1.d;
            r7.a = true;
            r7.b = true;
     */
    /* JADX WARNING: Missing block: B:81:0x01c3, code skipped:
            r1 = r0.c(r13, android.util.Xml.asAttributeSet(r14));
     */
    /* JADX WARNING: Missing block: B:82:0x01cb, code skipped:
            r7 = r1;
     */
    public final void a(android.content.Context r13, org.xmlpull.v1.XmlPullParser r14) {
        /*
        r12 = this;
        r0 = new b.g.c.c;
        r0.m445init();
        r1 = r14.getAttributeCount();
        r2 = 0;
        r3 = 0;
    L_0x000b:
        if (r3 >= r1) goto L_0x01e9;
    L_0x000d:
        r4 = r14.getAttributeName(r3);
        r5 = "id";
        r4 = r5.equals(r4);
        if (r4 == 0) goto L_0x01e5;
    L_0x0019:
        r1 = r14.getAttributeValue(r3);
        r3 = "/";
        r3 = r1.contains(r3);
        r4 = -1;
        r6 = 1;
        if (r3 == 0) goto L_0x003f;
    L_0x0027:
        r3 = 47;
        r3 = r1.indexOf(r3);
        r3 = r3 + r6;
        r3 = r1.substring(r3);
        r7 = r13.getResources();
        r8 = r13.getPackageName();
        r3 = r7.getIdentifier(r3, r5, r8);
        goto L_0x0040;
    L_0x003f:
        r3 = -1;
    L_0x0040:
        if (r3 != r4) goto L_0x0058;
    L_0x0042:
        r5 = r1.length();
        if (r5 <= r6) goto L_0x0051;
    L_0x0048:
        r1 = r1.substring(r6);
        r3 = java.lang.Integer.parseInt(r1);
        goto L_0x0058;
    L_0x0051:
        r1 = "ConstraintLayoutStates";
        r5 = "error in parsing id";
        android.util.Log.e(r1, r5);
    L_0x0058:
        r1 = r14.getEventType();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r5 = 0;
        r7 = r5;
    L_0x005e:
        if (r1 == r6) goto L_0x01df;
    L_0x0060:
        if (r1 == 0) goto L_0x01cd;
    L_0x0062:
        r8 = "Constraint";
        r9 = 3;
        r10 = 2;
        if (r1 == r10) goto L_0x008e;
    L_0x0068:
        if (r1 == r9) goto L_0x006c;
    L_0x006a:
        goto L_0x01d0;
    L_0x006c:
        r1 = r14.getName();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r9 = "ConstraintSet";
        r9 = r9.equals(r1);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        if (r9 == 0) goto L_0x007a;
    L_0x0078:
        goto L_0x01df;
    L_0x007a:
        r1 = r1.equalsIgnoreCase(r8);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        if (r1 == 0) goto L_0x01d0;
    L_0x0080:
        r1 = r0.c;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r8 = r7.a;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r8 = java.lang.Integer.valueOf(r8);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r1.put(r8, r7);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r7 = r5;
        goto L_0x01d0;
    L_0x008e:
        r1 = r14.getName();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r11 = r1.hashCode();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        switch(r11) {
            case -2025855158: goto L_0x00dd;
            case -1984451626: goto L_0x00d3;
            case -1269513683: goto L_0x00ca;
            case -1238332596: goto L_0x00c0;
            case -71750448: goto L_0x00b6;
            case 1331510167: goto L_0x00ac;
            case 1791837707: goto L_0x00a2;
            case 1803088381: goto L_0x009a;
            default: goto L_0x0099;
        };	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
    L_0x0099:
        goto L_0x00e7;
    L_0x009a:
        r1 = r1.equals(r8);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        if (r1 == 0) goto L_0x00e7;
    L_0x00a0:
        r9 = 0;
        goto L_0x00e8;
    L_0x00a2:
        r8 = "CustomAttribute";
        r1 = r1.equals(r8);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        if (r1 == 0) goto L_0x00e7;
    L_0x00aa:
        r9 = 7;
        goto L_0x00e8;
    L_0x00ac:
        r8 = "Barrier";
        r1 = r1.equals(r8);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        if (r1 == 0) goto L_0x00e7;
    L_0x00b4:
        r9 = 2;
        goto L_0x00e8;
    L_0x00b6:
        r8 = "Guideline";
        r1 = r1.equals(r8);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        if (r1 == 0) goto L_0x00e7;
    L_0x00be:
        r9 = 1;
        goto L_0x00e8;
    L_0x00c0:
        r8 = "Transform";
        r1 = r1.equals(r8);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        if (r1 == 0) goto L_0x00e7;
    L_0x00c8:
        r9 = 4;
        goto L_0x00e8;
    L_0x00ca:
        r8 = "PropertySet";
        r1 = r1.equals(r8);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        if (r1 == 0) goto L_0x00e7;
    L_0x00d2:
        goto L_0x00e8;
    L_0x00d3:
        r8 = "Motion";
        r1 = r1.equals(r8);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        if (r1 == 0) goto L_0x00e7;
    L_0x00db:
        r9 = 6;
        goto L_0x00e8;
    L_0x00dd:
        r8 = "Layout";
        r1 = r1.equals(r8);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        if (r1 == 0) goto L_0x00e7;
    L_0x00e5:
        r9 = 5;
        goto L_0x00e8;
    L_0x00e7:
        r9 = -1;
    L_0x00e8:
        r1 = "XML parser error must be within a Constraint ";
        switch(r9) {
            case 0: goto L_0x01c3;
            case 1: goto L_0x01b4;
            case 2: goto L_0x01a7;
            case 3: goto L_0x0182;
            case 4: goto L_0x015d;
            case 5: goto L_0x0137;
            case 6: goto L_0x0111;
            case 7: goto L_0x00ef;
            default: goto L_0x00ed;
        };
    L_0x00ed:
        goto L_0x01d0;
    L_0x00ef:
        if (r7 == 0) goto L_0x00f8;
    L_0x00f1:
        r1 = r7.f;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        b.g.c.a.a(r13, r14, r1);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        goto L_0x01d0;
    L_0x00f8:
        r13 = new java.lang.RuntimeException;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2 = new java.lang.StringBuilder;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2.<init>();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2.append(r1);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r14 = r14.getLineNumber();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2.append(r14);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r14 = r2.toString();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r13.<init>(r14);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        throw r13;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
    L_0x0111:
        if (r7 == 0) goto L_0x011e;
    L_0x0113:
        r1 = r7.c;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r8 = android.util.Xml.asAttributeSet(r14);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r1.a(r13, r8);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        goto L_0x01d0;
    L_0x011e:
        r13 = new java.lang.RuntimeException;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2 = new java.lang.StringBuilder;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2.<init>();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2.append(r1);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r14 = r14.getLineNumber();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2.append(r14);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r14 = r2.toString();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r13.<init>(r14);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        throw r13;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
    L_0x0137:
        if (r7 == 0) goto L_0x0144;
    L_0x0139:
        r1 = r7.d;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r8 = android.util.Xml.asAttributeSet(r14);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r1.a(r13, r8);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        goto L_0x01d0;
    L_0x0144:
        r13 = new java.lang.RuntimeException;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2 = new java.lang.StringBuilder;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2.<init>();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2.append(r1);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r14 = r14.getLineNumber();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2.append(r14);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r14 = r2.toString();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r13.<init>(r14);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        throw r13;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
    L_0x015d:
        if (r7 == 0) goto L_0x0169;
    L_0x015f:
        r1 = r7.e;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r8 = android.util.Xml.asAttributeSet(r14);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r1.a(r13, r8);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        goto L_0x01d0;
    L_0x0169:
        r13 = new java.lang.RuntimeException;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2 = new java.lang.StringBuilder;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2.<init>();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2.append(r1);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r14 = r14.getLineNumber();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2.append(r14);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r14 = r2.toString();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r13.<init>(r14);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        throw r13;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
    L_0x0182:
        if (r7 == 0) goto L_0x018e;
    L_0x0184:
        r1 = r7.b;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r8 = android.util.Xml.asAttributeSet(r14);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r1.a(r13, r8);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        goto L_0x01d0;
    L_0x018e:
        r13 = new java.lang.RuntimeException;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2 = new java.lang.StringBuilder;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2.<init>();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2.append(r1);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r14 = r14.getLineNumber();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r2.append(r14);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r14 = r2.toString();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r13.<init>(r14);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        throw r13;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
    L_0x01a7:
        r1 = android.util.Xml.asAttributeSet(r14);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r1 = r0.c(r13, r1);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r7 = r1.d;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r7.d0 = r6;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        goto L_0x01cb;
    L_0x01b4:
        r1 = android.util.Xml.asAttributeSet(r14);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r1 = r0.c(r13, r1);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r7 = r1.d;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r7.a = r6;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r7.b = r6;	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        goto L_0x01cb;
    L_0x01c3:
        r1 = android.util.Xml.asAttributeSet(r14);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        r1 = r0.c(r13, r1);	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
    L_0x01cb:
        r7 = r1;
        goto L_0x01d0;
    L_0x01cd:
        r14.getName();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
    L_0x01d0:
        r1 = r14.next();	 Catch:{ XmlPullParserException -> 0x01db, IOException -> 0x01d6 }
        goto L_0x005e;
    L_0x01d6:
        r13 = move-exception;
        r13.printStackTrace();
        goto L_0x01df;
    L_0x01db:
        r13 = move-exception;
        r13.printStackTrace();
    L_0x01df:
        r13 = r12.b;
        r13.put(r3, r0);
        goto L_0x01e9;
    L_0x01e5:
        r3 = r3 + 1;
        goto L_0x000b;
    L_0x01e9:
        return;
        */
        throw new UnsupportedOperationException("Method not decompiled: b.g.c.b.a(android.content.Context, org.xmlpull.v1.XmlPullParser):void");
    }
}
